<?php /* Smarty version 2.6.16, created on 2009-04-28 21:30:10
         compiled from View.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'messages', 'View.html', 12, false),array('function', 'url', 'View.html', 18, false),array('function', 'module', 'View.html', 19, false),array('function', 'language', 'View.html', 23, false),array('modifier', 'clean', 'View.html', 36, false),array('modifier', 'date_format', 'View.html', 53, false),array('modifier', 'process_code', 'View.html', 72, false),)), $this); ?>
<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td class="border2">

        <!-- Start Top module -->
        <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header"><?php echo $this->_tpl_vars['sBoxName']; ?>
</td>
        </tr>
        </table>
        <div style="padding-left: 30px; font-size: 10pt;"><b><?php echo smarty_function_messages(array('block' => 'View'), $this);?>
</b></div>
        <!-- End Top module -->
		<?php if (! $this->_tpl_vars['iIsFriend']): ?>
		<table style="width:100%;" cellpadding="8" cellspacing="8">
		<tr>
			<td style="vertical-align:top;">
				<a href="<?php echo smarty_function_url(array('link' => "public.user",'name' => $this->_tpl_vars['aBulletinInfo']['user']), $this);?>
">
					<?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aBulletinInfo']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aBulletinInfo']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

				</a>
			</td>
			<td style="vertical-align:top;" class="color">
			<?php echo smarty_function_language(array('text' => "bb.be.friends"), $this);?>

				<ul>
					<li><a href="<?php echo smarty_function_url(array('link' => "public.account.friends.add",'id' => $this->_tpl_vars['aBulletinInfo']['userid']), $this);?>
"><?php echo smarty_function_language(array('text' => "bb.ask.friend"), $this);?>
</a></li>
					<li><a href="<?php echo smarty_function_url(array('link' => "public.user",'name' => $this->_tpl_vars['aBulletinInfo']['user']), $this);?>
"><?php echo smarty_function_language(array('text' => "bb.views.profile"), $this);?>
</a></li>
				</ul>
			</td>
		</tr>
		</table>
		<?php else: ?>
        <!-- Start Content-->
        <div>
            <div style="padding: 8px; font-size: 8pt;" class="border13">
                <img src="<?php echo $this->_tpl_vars['sStylePath']; ?>
spacer.gif" class="sqr" style="vertical-align: middle;" alt="" height="7" width="7" />
                &nbsp;<b><?php echo ((is_array($_tmp=$this->_tpl_vars['aBulletinInfo']['title'])) ? $this->_run_mod_handler('clean', true, $_tmp) : smarty_modifier_clean($_tmp)); ?>
</b>
            </div>
            <br />
            <table style="width: 100%;" cellpadding="0" cellspacing="0">
                <tbody>
                    <tr>
                        <td style="width: 80%; vertical-align: top;">
                            <table style="width: 100%; font-size: 8pt;" class="color">
                                <tbody>
                                    <tr>
                                        <td style="width: 20%; text-align: right;"><b><?php echo smarty_function_language(array('text' => 'by'), $this);?>
</b>:</td>
                                        <td style="width: 80%;">
                                            <a href="<?php echo smarty_function_url(array('link' => "public.user",'name' => $this->_tpl_vars['aBulletinInfo']['user']), $this);?>
"><?php echo $this->_tpl_vars['aBulletinInfo']['user']; ?>
</a>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="width: 20%; text-align: right;"><b><?php echo smarty_function_language(array('text' => 'date'), $this);?>
</b>:</td>
                                        <td style="width: 80%;"><?php echo ((is_array($_tmp=$this->_tpl_vars['aBulletinInfo']['time'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['sDateFormat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['sDateFormat'])); ?>
</td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                        <td style="width: 20%; vertical-align: top; text-align: center; font-size: 8pt;" class="color">
                            <a href="<?php echo smarty_function_url(array('link' => "public.user",'name' => $this->_tpl_vars['aBulletinInfo']['user']), $this);?>
">
                                <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aBulletinInfo']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aBulletinInfo']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

                            </a>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
            <table style="width: 100%;">
                <tbody>
                    <tr>
                        <td style="width: 5%;"></td>
                        <td style="width: 95%; font-size: 8pt;" class="color">
                            <?php echo ((is_array($_tmp=$this->_tpl_vars['aBulletinInfo']['text'])) ? $this->_run_mod_handler('process_code', true, $_tmp) : smarty_modifier_process_code($_tmp)); ?>

                            <br /><br />
                    		<table style="width: 100%;">
        		              <tbody>
        		                  <tr>
        		                      <td style="font-size: 9pt;" class="color">
        		                          <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.bulletin','rep' => $this->_tpl_vars['aBulletinInfo']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'post_reply_138'), $this);?>
 ]</a>
        		                          <?php if ($this->_tpl_vars['bIsAdmin'] || $this->_tpl_vars['bIsOwner']): ?>
                                          &nbsp;
        		                          <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.bulletin','del' => $this->_tpl_vars['aBulletinInfo']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'delete'), $this);?>
 ]</a>
                                          &nbsp;
        		                          <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.account.bulletin','edit' => $this->_tpl_vars['aBulletinInfo']['id']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'edit'), $this);?>
 ]</a>
        		                          <?php endif; ?>
        		                      </td>
        		                      <td style="font-size: 9pt; text-align: right;" class="color">
        			                     <?php if ($this->_tpl_vars['aNav']): ?>
                    						<?php if ($this->_tpl_vars['aNav']['1']): ?>
                                                <a href="<?php echo smarty_function_url(array('link' => "public.account.bulletin.view",'id' => $this->_tpl_vars['aNav']['1']), $this);?>
" class="link_action">[ <?php echo smarty_function_language(array('text' => 'previous_message'), $this);?>
 ]</a>
                    						<?php endif; ?>
                    						<?php if ($this->_tpl_vars['aNav']['0']): ?>
                                                &nbsp;
                                                <a href="<?php echo smarty_function_url(array('link' => "public.account.bulletin.view",'id' => $this->_tpl_vars['aNav']['0']), $this);?>
" class="link_action">[ <?php echo smarty_function_language(array('text' => 'next_message'), $this);?>
 ]</a>
                    						<?php endif; ?>
                						<?php endif; ?>
        		                      </td>
        	                      </tr>
                              </tbody>
                          </table>
        		      </td>
        	      </tr>
                </tbody>
            </table>
            <br />
            <?php endif; ?>
    </td>
</tr>
</table>